package cn.itsource.pojo.api;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

/**
 * 📖：beishan
 * 🗓️：2024/3/29 11:32
 * =====================
 * 存放登录相关数据
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class AddLogin {
    @NotNull(message = "登录id不能为空")
    private Long id;
    private String username;
    @NotNull(message = "状态不能为空")
    private Integer type;
    private String openId;
    private String phone;
    private String avatar;

}
